﻿using Quartz;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace YnPlcDataServer.Scheduler
{
    public class IJobDetailEventArgs : EventArgs
    {
        public IJobDetail jobDetail;
        public IJobDetailEventArgs(IJobDetail jobDetail)
        {
            this.jobDetail = jobDetail;
        }
    }
    public class JobKeyEventArgs : EventArgs
    {
        public JobKey jobKey;
        public JobKeyEventArgs(JobKey jobKey)
        {
            this.jobKey = jobKey;
        }
    }
    public class ITriggerEventArgs : EventArgs
    {
        public ITrigger trigger;
        public ITriggerEventArgs(ITrigger trigger)
        {
            this.trigger = trigger;
        }
    }
    public class TriggerKeyEventArgs : EventArgs
    {
        public TriggerKey triggerKey;
        public TriggerKeyEventArgs(TriggerKey triggerKey)
        {
            this.triggerKey = triggerKey;
        }
    }
}
